package com.github.pig.monitor.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author lengleng
 * @date 2018/1/25
 * 监控配置
 */
@Configuration
@ConfigurationProperties(prefix = "notifier")
public class MonitorPropertiesConfig {

    private MonitorMobilePropertiesConfig mobile;

    private MonitorDingTalkPropertiesConfig dingTalk;

	public MonitorMobilePropertiesConfig getMobile() {
		return mobile;
	}

	public void setMobile(MonitorMobilePropertiesConfig mobile) {
		this.mobile = mobile;
	}

	public MonitorDingTalkPropertiesConfig getDingTalk() {
		return dingTalk;
	}

	public void setDingTalk(MonitorDingTalkPropertiesConfig dingTalk) {
		this.dingTalk = dingTalk;
	}

}
